<div class="tab-container">
    <ul class="nav nav-tabs">
        <li class="active">
            <a data-toggle="tab" href="#data-list" aria-expanded="true"><!--tab title--></a>	
        </li>	
        <li class="">
            <a data-toggle="tab" href="#add-list" aria-expanded="false"><!--tab title--></a>	
        </li>	
    </ul>	
    <div class="tab-content">
        <div id="data-list" class="tab-pane active">
            <div class="panel-body">
                <?php if (!$list) { ?>
                    <h2 class="text-navy text-center">暂无数据...</h2>
                <?php } else { ?>
                    <input type="text" class="form-control input-sm m-b-xs" id="filter" placeholder="Search for sth in table">
                    <table class="footable table table-stripped toggle-arrow-tiny table-hover" id="data-table" data-page-size="8" data-filter="#filter">
                        <thead>
                            <tr>
                                <!--                                
                                <th>序号</th>
                                <th>门店名称</th>
                                <th>优惠信息</th>
                                <th>有效期</th>
                                <th>发放数</th>
                                <th>使用数</th>
                                <th>领取数</th>
                                <th>操作</th>
                                -->
                            </tr>
                        </thead>
                        <tbody>
                            <!--foreach 循环列出table 数据-->
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <ul class="pagination pull-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                <?php } ?>
            </div>
        </div>	
        <div id="add-list" class="tab-pane">
            <div class="panel-body">

                <!--START 表单域-->
                <!--                
                <div class="form-group">
                    <input type="text" value="" name="" id="" placeholder="">
                </div>
                -->
                <!--END 表单域-->

                <div class="form-group">
                    <button id="save-btn" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>		
    </div>
</div>